package com.mmall.controller.backend;

import com.mmall.common.ServerResponse;
import com.mmall.service.IStatisticService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName: StatisticManageController
 * @Title: mmall
 * @Package: com.mmall.controller.backend
 * @Description:
 * @author: liuqingsong
 * @E-mail: lqs_email@163.com
 * @version: 创建时间: 2019/10/11 13:23
 */
@Controller
@RequestMapping("/manage/statistic")
public class StatisticManageController {

    @Autowired
    private IStatisticService iStatisticService;

    /**
     * 用户、订单、商品数目统计接口
     * @return
     */
    @RequestMapping(value = "base_count.do")
    @ResponseBody
    public ServerResponse baseCount(){
        return iStatisticService.baseCount();
    }
}
